import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const sysMessage: AppRouteModule = {
  path: '/sys/message',
  name: 'SysMessage',
  component: LAYOUT,
  meta: {
    title: '消息',
  },
  children: [
    {
      path: '/sys/message/view/:key',
      name: 'SysMessageView',
      component: () => import('@/views/sys/message/View.vue'),
      meta: {
        title: '消息',
      },
    },
  ],
};

export default sysMessage;
